import { useUserStore } from "@/store/modules/user";
import { storeToRefs } from "pinia";
import { computed } from "vue";

const editFormConfig: Record<string, any> = {
	isVertical: true,
	labelWidth: 82,
	labelPlacement: "left",
	formItems: [
		{
			field: "sex",
			labelName: "性别:",
			labelStyle: "fontSize:14px;",
			type: "RadioBox",
			name: "radioBox",
			options: [
				{
					label: "男",
					value: "男",
				},
				{
					label: "女",
					value: "女",
				},
			],
		},
		{
			field: "signature",
			labelName: "个性签名:",
			labelStyle: "fontSize:14px;",
			type: "TextArea",
			inputType: "textarea",
			placeholder: "快来编辑你的个性签名吧...",
			autosize: {
				minRows: 3,
				maxRows: 5,
			},
		},
	],
};
export default editFormConfig;
